<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/11/30
 * Time: 18:21
 */
require_once(dirname(__FILE__) . '/../include/config.inc.php');
$typeid = isset($_POST['type']) ? intval($_POST['type']) : 0 ;
$mobile = isset($_POST['mobile']) ? htmlspecialchars($_POST['mobile']) : '' ;



//$openid_str=$_SESSION['openid'];
$row = $dosql->GetOne("SELECT * FROM `#@__user` WHERE id='$uid'");
if(is_array($row) && isset($row['id'])){
    // 返回用户 id
    $userInfo=$row;
}
$row_arr['code'] = 0;
$row_arr['msg'] = "success";
$row_arr['data'] = $list;
echo json_encode($row_arr,JSON_UNESCAPED_UNICODE);
